package scm.inventoryControl.managedbean;

import scm.inventoryControl.session.stateless.InventoryControlSessionBean;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import scm.inventoryControl.entity.ProductBatchRecordEntity;

@ManagedBean
@ViewScoped
public class ViewProductBatchRecordsManagedBean implements Serializable {

    @EJB
    private InventoryControlSessionBean inventorySessionBean;
    
    
    
    
    public ViewProductBatchRecordsManagedBean() {
    }

        public List<ProductBatchRecordEntity> getProductRecords() {
        return inventorySessionBean.getAllProductRecords();
    }

}
